export interface ListInt{//存放用户信息
    id:number
    nickName:string
    role:RoleInt[]
    userName:string
}
interface RoleInt{
    role:number,
    roleName:string
}
interface ActiveInt{//存放要修改的用户信息
    id:number
    nickName:string
    role:number[]//只需展示1和2
    userName:string
}
interface SelectDataInt{//存放要查询的信息
    role:number,//1->管理员，2->普通用户
    nickName:string
}
interface RoleListInt{//存放要查询的角色信息
    authority: number[],
    roleId: number,
    roleName:string
}
export class InitData{
    list:ListInt[]=[]
    selectData:SelectDataInt={
        role:0,
        nickName:"",
    }
    roleList:RoleListInt[]=[]//存放要选择的角色信息
    active:ActiveInt={
        id:0,
        nickName:"",
        role:[],
        userName:""
    }
    isShow=false
}